package com.example.ext.entity;

import com.example.entity.authority.SystemAuthor;

/**
 * Created by youkun on 2017/9/2.
 */
public class ExtSystemAuthor extends SystemAuthor{

    private String parentName;      //父菜单的名字

    private Integer pageSize;

    private Integer currentPage;

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public Integer getPageSize() {
        if(null==pageSize){
            return 10;
        }
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getCurrentPage() {
        if(null==currentPage){
            return 1;
        }
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }
}
